package com.yq.design.decorator;

/**
 * @ClassName BeefCakeImpl
 * @Description TODO
 * @Author yaoqiang
 * @Date 2021/11/1 10:22
 * @Version 1.0
 */
public class BeefCakeImpl extends CakeDecorator{
    public BeefCakeImpl(Cake cake) {
        super(cake);
    }
    @Override
    public String nameDetails(){
        return "牛肉"+cake.nameDetails();
    }
}
